/*
 * @Author: wangdengduo
 * @Date: 2023-05-06 12:52:39
 * @LastEditors: wangdengduo
 * @LastEditTime: 2023-05-10 10:03:54
 * @FilePath: \todo\src\index.js
 * @Description:
 */
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App";
import { Store } from "@/store";

const root = ReactDOM.createRoot(document.getElementById("root"));

if (process.env.NODE_ENV !== "production") {
  require("@/utils/mock.js");
}

root.render(
  <React.StrictMode>
    <Store>
      <App />
    </Store>
  </React.StrictMode>
);
